home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
-
- if not exist ULTIMABJ.EXE goto noFile
-
- if "%1" == "" goto help
- if "%2" == "" goto noPath
-
- :path
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay1
- goto help
-
- :okay1
-
- for %%A in ( : \ ) do if !%2 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\%2
- echo .
- echo . ULTIMATE BLACKJACK INSTALLATION
- echo .
- md %1:\%2
- echo . COPYING FILES
- copy *.exe %1:\%2
- goto success1
-
- :noPath
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay
-
- goto help
-
- :okay
-
- for %%A in (\ :) do if !%1 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\BLKJACK
- echo .
- echo . ULTIMATE BLACKJACK INSTALLATION
- echo .
- md %1:\blkjack
- echo COPYING FILES
- copy *.exe %1:\blkjack
-
- goto success2
-
- :help
- cls
- @echo off
- echo .
- echo . ULTIMATE BLACKJACK INSTALL UTILITY
- echo .
- echo . This program must be installed to a hard drive. To install this
- echo . program to C drive, you would type "INSTALL C". This will put the
- echo . game in the directory "BLKJACK". If you wish to install this
- echo . game to a different drive or directory, type.....
- echo .
- echo . "INSTALL (drive letter) (name of directory)"
- echo .
- echo . EXAMPLE: to install to D drive in the directory GAMBLERS type....
- echo .
- echo . "INSTALL D GAMBLERS"
- echo .
- echo . Do not include a colon ":" after the drive letter.
- echo .
- goto end
-
- :noFile
- cls
- echo .
- echo . AN ERROR HAS OCCURRED, INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . Sorry, the file "ULTIMABJ.EXE" is not on this disk. This file must
- echo . on your distribution diskette for sucessfull installation of this
- echo . game.
- echo .
- echo .
- goto end
-
- :gameErrorMsg
- cls
- echo . AN ERROR HAS OCCURRED, GAME INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . Sorry, at least one file required to run ULTIMATE BLACKJACK is missing.
- echo . The disk may be too full to allow for all files to be decompressed or
- echo . your souce disk may be bad. Type "PACKLIST.TXT" for a listing of files
- echo . required for this program. You must have at least 4.5 mega bytes of
- echo . Hard Disk space for successful installation.
- goto end
-
- :voiceErrorMsg
- cls
- echo .
- echo .
- echo . AN ERROR HAS OCCURRED, VOICE PACK INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . The disk may be too full to allow for all files to be decompressed or
- echo . your souce disk may be bad. Type "PACKLIST.TXT" for a listing of files
- echo . required for this program. You must have at least 4.5 mega bytes of
- echo . Hard Disk space for successful installation.
- echo .
- echo . YOUR ULTIMATE BLACKJACK GAME SHOULD FUNCTION BUT THE SOUND BLASTER VOICES
- echo . may not work. Free up some hard disk space and reattempt installation.
- echo .
- echo .
-
- goto end
-
- :success1
-
- cls
- echo .
- echo .
- echo . DECOMPRESSING FILES
- echo .
- %1:
- cd %1:\%2
- if not exist ULTIMABJ.EXE goto noFile
- ultimabj.exe
- DEL ultimabj.exe
-
- @echo off
- cls
- if not exist BLKJACK2.L goto gameErrorMsg
- goto doneMsg
-
- :success2
-
- cls
- echo .
- echo .
- echo . DECOMPRESSING FILES
- echo .
- %1:
- cd %1:\BLKJACK
- if not exist ULTIMABJ.EXE goto noFile
- ultimabj.exe
- DEL ultimabj.exe
-
- @echo off
- cls
- if not exist BLKJACK2.L goto gameErrorMsg
-
- :doneMsg
-
- echo .
- echo .
- echo . INSTALLATION COMPLETE
- echo . TYPE "UBJ" TO RUN ULTIMATE BLACKJACK
- echo . or
- echo . TYPE "BJMANUAL" TO READ GAME DOCUMENTATION
- echo .
- echo .
- echo . NOTE: This game will attempt to use expanded memory if it is detected.
- echo . If the game will not run or causes system lock up or behaves erratically,
- echo . there may be a conflict with your expanded memory manager. If this is
- echo . the case, use the command line switch "/N" when starting the program. To
- echo . use this switch to eliminate expanded memory calls, type "UBJ /N" then push
- echo . return. This will force the game to use conventional memory only. When
- echo . using only conventional memory, the game manual may be unavailable with the
- echo . F1 key while playing the game. NOTE: You must have the RAM switch set in
- echo . place of the NOEMS swicth on the EMM386.EXE line of your config.sys file
- echo . before your computer can use extended memory for expanded memory.
- echo .
- :end
-